//
//  StoreDetailsTableViewCell.swift
//  DSHCMerchant
//
//  Created by 罗德良 on 2018/4/28.
//  Copyright © 2018年 袋鼠好车. All rights reserved.
//

import UIKit

class StoreDetailsTableViewCell: UITableViewCell {

    
    typealias TapBlock = (_ intValue:Int) -> Void
    
    var tapblock:TapBlock?
    
    func callBackBlock(_ block: @escaping TapBlock) {
        
        tapblock = block
    }
    
    @IBOutlet var cellBtn: UIButton!
    @IBOutlet var titleLabel: UILabel!
    
    @IBOutlet var contentTF: UITextField!
    
    @IBOutlet var contentLabel: UILabel!
    @IBOutlet var rightImageView: UIImageView!
    
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    @IBAction func cellBtnPress(_ sender: UIButton) {
        if tapblock != nil {
            self.tapblock!(1)
        }
    }
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
